<template>
    <div class="main_content">
        <headerBox></headerBox>
        <div class="body_content">
            <div class="sidebar_content">
                <sidebar></sidebar> 
            </div>
            <div class="router_content">
                <router-view></router-view>
            </div>
        </div>
        <footer class="footer">
            <hr>
             Copyright© 2016-2019 by techi technology,All Rights Reserved
        </footer>
    </div>
</template>

<script>
    import sidebar from './minicomponents/sidebar.vue'
    import headerBox from './minicomponents/header.vue'

    export default {
        methods: {
            
        },
        components:{
            sidebar,
            headerBox
        }
    }
</script>

<style lang="scss" scoped>
 .main_content{
    .body_content{
        display: flex;
        width: 80%;
        margin: 0 auto;
        // border: 1px solid black;

        .sidebar_content{
            width: 140px;
            min-width: 140px;
            height: 470px;
            box-shadow: 0 0 25px 1px rgb(192, 192, 192);
            margin:20px;
            margin-left: 0;
            padding: 2px;
        }

        .router_content{
            margin-top: 20px;
            min-width:1080px;
            // border: 1px solid black;
            width:1080px;
        }
    }

     .footer{
        margin: 0 auto;
        width: 1250px;
        margin-top: 50px;
        text-align: center;
        font-size: 12px;
        color: #666;
        height: 150px;
        hr{
            color: rgb(192, 189, 189);
        }
    }

}
</style>